package ManageGameHServer.bean;

/**
 * Created by Administrator on 2017/5/8.
 */
public class CodeTable {
    private String  key; //即name,用于展示在下拉框中
    private String  value;//用于存储在数据库中，页面传递后台的值
    private String  codetype;//码表类型值
    private String  remarks;//备注说明

    public CodeTable(String key, String value, String codetype) {
        this.key = key;
        this.value = value;
        this.codetype = codetype.toUpperCase();
    }

    public CodeTable(String key, String value, String codetype, String remarks) {
        this.key = key;
        this.value = value;
        this.codetype = codetype.toUpperCase();
        this.remarks = remarks;
    }

    public String getKey() {
        return key;
    }
    public void setKey(String key) {
        this.key = key;
    }
    public String getValue() {
        return value;
    }
    public void setValue(String value) {
        this.value = value;
    }
    public String getCodetype() {
        return codetype;
    }
    public void setCodetype(String codetype) {
        this.codetype = codetype.toUpperCase();
    }
    public String getRemarks() {
        return remarks;
    }
    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
